package com.kim.store.service.ex;

/**
 * 业务层异常基类
 * 整个业务的异常只有在项目运行的过程中才会产生,所以继承运行时异常
 */
public class ServiceException extends RuntimeException{
    /**
     * 重写了父类RuntimeException中的构造方法
     */
    public ServiceException() {
        super();
    }

    public ServiceException(String message) {
        super(message);
    }

    public ServiceException(String message, Throwable cause) {
        super(message, cause);
    }

    public ServiceException(Throwable cause) {
        super(cause);
    }

    protected ServiceException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
